﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Problema2
{
    class ConcreteComputerPartCPU : AbstractComputerPart        // AbstractFacotry Pattern
    {
        private string tip;
        public string Tip { get { return tip; } set { tip = Tip; } }

        public ConcreteComputerPartCPU()
        {
            Console.WriteLine("CPU=");
            tip = Console.ReadLine();
        }
        public ConcreteComputerPartCPU(ConcreteComputerPartCPU x) { tip = x.tip; }
    }
}
